<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <style type="text/css">
        *{
            margin: 0;
            padding: 0;
        }
        .box{
            display: flex;
            display: -webkit-flex;
            background: #999;
        }
        .box span{
            margin: 10px 10px;
            padding: 10px;
            background: #ff0;
        }
        .box span:nth-of-type(1){
            order: 10;
        }
        .box span:nth-of-type(2){
            order: -1;
        }
        .box span:nth-of-type(5){
            order: -10;
        }
        box6{
            width: 100px;
            height: 100px;
            margin: auto;
        }
        box7{
            width: 100px;
            height: 100px;
            margin: auto;
        }
        </style>
        <div class="box">
            <span>你好1</span>
            <span>你好2</span>
            <span>你好3</span>
            <span>你好4</span>
            <span>你好5</span>
        </div>
        <div class="box6">
            <span>你好6</span>
            <p>123456</p>
        </div>

        <div class="box7">
            <span>你好7</span>
            <p>1234567</p>
        </div>
</body>
</html>